package com.ruoyi.stream.framework.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "stream.server")
public class StreamServerConfig {

   public Integer port;

   public Integer bossThreads;

   public Integer workerThreads;

   public Integer getPort() {
      return port;
   }

   public void setPort(Integer port) {
      this.port = port;
   }

   public Integer getBossThreads() {
      return bossThreads;
   }

   public void setBossThreads(Integer bossThreads) {
      this.bossThreads = bossThreads;
   }

   public Integer getWorkerThreads() {
      return workerThreads;
   }

   public void setWorkerThreads(Integer workerThreads) {
      this.workerThreads = workerThreads;
   }



}
